package edu.upol.paradise.compiler.types;

import org.apache.log4j.Logger;

public class AnnotatedCons extends Cons {
	static final Logger log = Logger.getLogger(AnnotatedCons.class);
	
	private int lineNo;
	private int charNo;
	
	public AnnotatedCons setCar(ParadiseObject car, int lineNo, int charNo){
		setCar(car);
		this.lineNo = lineNo;
		this.charNo = charNo;
		return this;
	}
	
	public int getLineNo(){
		return lineNo;
	}
	
	public int getCharNo(){
		return charNo;
	}

	public void setMetainfo(int lineNo2, int charNo2) {
		charNo = charNo2;
		lineNo = lineNo2;
	}
}
